package io.renren.wechat.service.domain;

import com.alibaba.fastjson.annotation.JSONField;
import io.renren.wechat.common.WechatResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutorService;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class UserInfo extends WechatResponse {
    @JSONField(name = "userid")
    private String userId;

    private String name;
    private String alias;
    private String position;
    private String mobile;
    private String telephone;
    private String email;
    private String avatar;

    @JSONField(name = "thumb_avatar")
    private String thumbAvatar;

    private String address;

    @JSONField(name = "open_userid")
    private String openUserid;

    @JSONField(name = "qr_code")
    private String qrCode;

    @JSONField(name = "external_position")
    private String externalPosition;


    private List<Integer> department;
    private List<Integer> order;

    @JSONField(name = "is_leader_in_dept")
    private List<Integer> isLeaderInDept;

    @JSONField(name = "main_department")
    private Integer mainDepartment;

    private String gender;
    private Integer status;

    @JSONField(name = "external_profile")
    private ExternalProfile externalProfile;

    @JSONField(name = "extattr")
    private AttrList extAttr;
}
